package com.cqgcxy.shopping.domain;

import java.io.Serializable;
import java.sql.Date;


/**
 * -----------------------------商店表--------------------------
 *  
 * 1.该类和数据中的表对应(类名和表名可以不同,一般我们设置为相同)
 * 2.该类的属性和表的字段对应(属性和字段名字可以不同,一般我们会设置为相同)
 * 3.该类获取属性时是执行get或set方法而不是访问成员变量
 * 	 比如：获取属性user.usercode,实际上是执行user.getUsercode()方法
 * 		设置属性user.usercode="xxxxx",实际上是执行方法 user.setUsercode("xxxxx")
 * 		属性的名称是get方法去掉前面的get，同时把后面部分第一个字母改为小写。
 * @author 方昆
 *
 */
public class Shop implements Serializable{

	
	private static final long serialVersionUID = 6261807618449256568L;

private Integer id;
	
	//商店编号
	private  Integer shopcode;
	
	//商店名称
	private String shop_name;
	
	//开店日期
	private Date shopdate;
	
	//商品编号
	private Integer goodcode;
	
	//商品名字
	private String goodname;
	//商品的价格
	private double shop_price;
	
	//商品的颜色
	private String shop_yanse;
	
	//商品的高度
	private String shop_gaodu;
	//商品的数量
	private int shop_shuliang;
	
	

	
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getShopcode() {
		return shopcode;
	}

	public void setShopcode(Integer shopcode) {
		this.shopcode = shopcode;
	}

	public String getShop_name() {
		return shop_name;
	}

	public void setShop_name(String shop_name) {
		this.shop_name = shop_name;
	}

	public Date getShopdate() {
		return shopdate;
	}

	public void setShopdate(Date shopdate) {
		this.shopdate = shopdate;
	}

	public Integer getGoodcode() {
		return goodcode;
	}

	public void setGoodcode(Integer goodcode) {
		this.goodcode = goodcode;
	}

	public String getGoodname() {
		return goodname;
	}

	public void setGoodname(String goodname) {
		this.goodname = goodname;
	}

	public double getShop_price() {
		return shop_price;
	}

	public void setShop_price(Double shop_price) {
		this.shop_price = shop_price;
	}

	public String getShop_yanse() {
		return shop_yanse;
	}

	public void setShop_yanse(String shop_yanse) {
		this.shop_yanse = shop_yanse;
	}

	public String getShop_gaodu() {
		return shop_gaodu;
	}

	public void setShop_gaodu(String shop_gaodu) {
		this.shop_gaodu = shop_gaodu;
	}

	public int getShop_shuliang() {
		return shop_shuliang;
	}

	public void setShop_shuliang(int shop_shuliang) {
		this.shop_shuliang = shop_shuliang;
	}
	
	
	
	
	
}
